package com.Txunda.fxw.ui.http;

import com.Txunda.fxw.base.web.ApiListener;
import com.Txunda.fxw.base.web.ApiTool;
import com.Txunda.fxw.ui.toolkit.config.Config;
import com.lidroid.xutils.http.RequestParams;

public class Index {
    public void index(ApiListener apiListener) {
        RequestParams params = new RequestParams();
        ApiTool apiTool = new ApiTool();
        apiTool.getApi(Config.BASE_URL + "Index/index", params, apiListener);
    }

    public void teaHouse(ApiListener apiListener) {
        RequestParams params = new RequestParams();
        ApiTool apiTool = new ApiTool();
        apiTool.getApi(Config.BASE_URL + "Index/teaHouse", params, apiListener);
    }

    public void adlist(ApiListener apiListener) {
        RequestParams params = new RequestParams();
        ApiTool apiTool = new ApiTool();
        apiTool.getApi(Config.BASE_URL + "Index/adlist", params, apiListener);
    }

    public void cate(ApiListener apiListener) {
        RequestParams params = new RequestParams();
        ApiTool apiTool = new ApiTool();
        apiTool.getApi(Config.BASE_URL + "Index/cate", params, apiListener);
    }

    public void fxMovie(ApiListener apiListener) {
        RequestParams params = new RequestParams();
        ApiTool apiTool = new ApiTool();
        apiTool.getApi(Config.BASE_URL + "Index/fxmovie", params, apiListener);
    }

}
